package com.zhkjnet.zhyy.entity;

import java.util.Date;

/**
 * 油卡
 */
public class OilCard {

    /**
     * 油卡id
     */
    private Long id;

    /**
     * 持卡人姓名
     */
    private String username;

    /**
     * 持卡人手机
     */
    private String phone;

    /**
     * 是否删除，true为已经删除，false为没有删除
     */
    private Boolean deleted;

    /**
     * 卡号
     */
    private String number;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 油卡类型
     */
    private OilCardType type;

    /**
     * 持有用户
     */
    private User user;

    /**
     * 当天充值次数
     */
    private Integer dayTimes;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public OilCardType getType() {
        return type;
    }

    public void setType(OilCardType type) {
        this.type = type;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Integer getDayTimes() {
        return dayTimes;
    }

    public void setDayTimes(Integer dayTimes) {
        this.dayTimes = dayTimes;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
